<div class="pageContent">
    <form method="post" action="<?php echo __URL__ . '/role_soft/' . $_REQUEST['id']; ?>" class="pageForm required-validate" onsubmit="return validateCallback(this, navTabAjaxDone);">
        <div class="pageFormContent" layoutH="56">
            <div layoutH="60" style="float:left; display:block; overflow:auto; width:240px; border:solid 1px #CCC; line-height:21px; background:#fff;margin:0px 5px">
                <ul class="tree treeCheck treeFolder expand">
				<?PHP foreach($tree as $t):?>
					<li>
						<a href="#" tname="admin_softids[]" tvalue="<?PHP echo $t['soft_id']; ?>" <?PHP if(in_array($t['soft_id'],$soft_ids)){echo 'checked';} ?>><?PHP echo $t['name']; ?></a>
					</li>
				<?PHP endforeach; ?>
                </ul>
            </div>
        </div>
        <div class="formBar">
            <ul>
                <li><div class="buttonActive"><div class="buttonContent"><button type="submit">应用</button></div></div></li>
                <li>
                    <div class="button"><div class="buttonContent"><button type="button" class="close">关闭</button></div></div>
                </li>
            </ul>
        </div>
    </form>
</div>
